package com.edu.service.impl;

import com.edu.dao.UserDao;
import com.edu.service.UserService;

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void login() {
        System.out.println("执行了 UserService的 login方法");
        userDao.select();
    }
}
